
<div data-role="content" data-scroll="y" data-height="80%" data-theme="a" >
	<div data-iscroll="scroller">
	
	<h3><?=$rows->fullname?></h3>	
		 <p>	<b>Lives in <?=$rows->location?><b>		</p>

	<ul data-role="listview" data-inset="true">
	
	
	
	
		<li data-role="list-divider" data-theme="a"><h3>Basic Info</h3></li>
		<li>
		<br>
		<p><b>About You: <?=$rows->description?></b></p>
		<p><b>Sex: 
			<?php
			if($rows->gender==0) :
			echo "Male";
			else:
			echo "Female";
			endif;
			?></b></p>
		
		<p><b>Interested In: <?=$rows->interest?></b></p>
		<p><b>Date of Birth: <?=$rows->birthdate?></b></p>
		<p><b>Language: <?=$rows->language?></b></p></li>
		
		<li data-role="list-divider" data-theme="a"><h3>Contact Info</h3></li><li>
		<br>
		<p><b>Email: <?=$rows->email?></b></p></li>
	</ul>	
	
	</div>
	</div>
	
	<?php if ($rows->userid==$this->session->userdata('userid')) :?>
<a href="<?=site_url('user_controller/sign_out');?>"
 	data-role="button" > Sign out</a>

	
<?php else: ?>

<a href="<?=site_url('messege_controller/to_send_messege?receiverid='.$rows->userid);?>"
		data-role="button">Message</a>
		<?php if(!$is_my_friend):?>
<a href="<?=site_url('friend_controller/add_as_friend?friendID='.$rows->userid);?>"
		data-role="button">Add As Friend!</a>
		

<?php endif;endif;?>


	


</div>

	</div>
</div>
